import RouteView from '@/layouts/RouteView'
import UserList from '@/views/user/userList'
import UserDetail from '@/views/user/userDetail'

export default [
  {
    path: '/user',
    component: RouteView,
    name: '用户管理',
    icon: 'user',
    children: [
      {
        path: '/user/list',
        component: UserList,
        name: '用户列表管理'
      },
      {
        path: '/user/detail',
        component: UserDetail,
        name: '用户详情管理',
        invisible: true
      }
    ]
  }
]
